﻿<?xml version="1.0" encoding="utf-8" ?>
<cachingConfiguration cacheManagers="DefaultCacheManager">
  <cacheManagers>
    <add name="DefaultCacheManager" type="Social.Components.Caching.CacheManager" 
        expirationPollFrequencyInSeconds="200" maximumElementsInCacheBeforeScavenging="8"
        numberToRemoveWhenScavenging="3" backingStoreFolderName="cache" backingStores="StorageBackingStore" />
    <add name="StorageCacheManager" type="Social.Components.Caching.CacheManager"
        expirationPollFrequencyInSeconds="30" maximumElementsInCacheBeforeScavenging="50"
        numberToRemoveWhenScavenging="10" backingStoreFolderName="cache" backingStores="StorageBackingStore" />
    <add name="DatabaseCacheManager" type="Social.Components.Caching.CacheManager"
        expirationPollFrequencyInSeconds="3600" maximumElementsInCacheBeforeScavenging="1000"
        numberToRemoveWhenScavenging="10" backingStoreFolderName="cache" backingStores="DatabaseBackingStore" />
  </cacheManagers>
  
  <backingStores>
    <add name="NullBackingStore" type="Social.Components.Caching.BackingStore.NullBackingStore" />
    <add name="StorageBackingStore" type="Social.Components.Caching.BackingStore.StorageBackingStore" />
    <add name="DatabaseBackingStore" type="Social.Components.Caching.BackingStore.DatabaseBackingStore" />
  </backingStores>
</cachingConfiguration>
